import Login from "../views/login.jsx";
import Home from "../views/home.jsx";
import Home3 from "../views/home3.jsx";
import Lay from "../views/layout/layout.jsx";
import Room_table from "../views/Table/RoomTable/Room_table.jsx";
import Builder_table from "../views/Table/BuilderTable/Builder_table.jsx";
import Stutable_form from "../views/Table/StudentTable/stutable_form.jsx";
import CollegeTable from "../views/Table/OrganizationTable/CollegeTable/CollegeTable.jsx";
import CrvateTable from "../views/Table/OrganizationTable/CrvateTable/CrvateTable.jsx";
import MajeurTable from "../views/Table/OrganizationTable/MajeurTable/MajeurTable.jsx";
import ClassTable from "../views/Table/OrganizationTable/ClassTable/ClassTable.jsx";
import Schedule_Card from "../views/Schedule/Schedule_Card.jsx";
import Room_T1 from "../views/Table/RoomTable/compents/Room_T1.jsx";

const router = [
    {
        path: "/",
        element: <Login></Login>,

    },
    {
        path: "layout",
        element: <Lay></Lay>,
        children:[
            {
                index:true,
                element:<Home></Home>
            },
            {
                path:"home2",element: <Stutable_form></Stutable_form>
            },
            {
                path: "home3",
                element: <Home3></Home3>
            },
            {
                path: "home",
                element: <Home></Home>
            },
            {
                path: "Schedule_Card",
                element: <Schedule_Card></Schedule_Card>
            },
            {
                path: "Roomanaer",
                element: <Room_table></Room_table>
            },
            {
                path: "Buildermanaer",
                element: <Builder_table></Builder_table>
            },
            {
                path: "CollegeManer",
                element: <CollegeTable></CollegeTable>
            },
            {
                path: "CrvategeManer",
                element: <CrvateTable></CrvateTable>
            },
            {
                path: "MajeurManer",
                element: <MajeurTable></MajeurTable>
            },
            {
                path: "clasmaner",
                element: <ClassTable></ClassTable>
            },
            {
                path: "antmap",
                element: <Room_T1></Room_T1>
            }
        ]
    }
]
export default router;